package cn.pojo;

public class User {

  private long id;
  private String name;

  public User() {
  }

  public long getId() {
    return id;
  }

  public void setId(long id) {
    this.id = id;
  }

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public long getAge() {
    return age;
  }

  public void setAge(long age) {
    this.age = age;
  }

  public School getSchool() {
    return school;
  }

  public void setSchool(School school) {
    this.school = school;
  }

  public User(long id, String name, long age, School school) {
    this.id = id;
    this.name = name;
    this.age = age;
    this.school = school;
  }

  private long age;

  private School school;


}